import GameCtrl from "./GameCtrl";

const { ccclass, property } = cc._decorator;

@ccclass
export default class DrumCtrl extends cc.Component {

    private passedTime: number = 0;

    start() {

    }

    update(dt: number) {
        // 当前对象的名字
        // console.log(this.node.name);
        let nodeName = this.node.name;
        nodeName = nodeName.replace('drum_', '');
        // console.log(nodeName);

        if (this.node.y <= -cc.winSize.height - this.node.height / 2) {

        }
    }

}
